﻿using System;
using System.ComponentModel.DataAnnotations;

namespace StevensReceipts.Domain
{
    public class Address : IEntity
    {
        public Address()
        {
            Created = DateTime.Now;
        }

        [Key]
        public int Id { get; set; }

        [StringLength(255)]
        [Required]
        public string AddressLine1 { get; set; }

        [StringLength(255)]
        public string Suburb { get; set; }

        [StringLength(255)]
        public string City { get; set; }


        public int PostCode { get; set; }

        [StringLength(255)]
        public string Country { get; set; }

        public DateTime? Created { get; set; }

        public DateTime? Modified { get; set; }


    }

}